package com.jinzhi.jzweb.service.moduleConfig;


import com.baomidou.mybatisplus.service.IService;
import com.jinzhi.common.utils.Result;
import com.jinzhi.jzweb.pojo.ModuleConfig.SignGrade;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;
import java.util.List;


public interface SignGradeService extends IService<SignGrade> {


    /**
     * 批量新增或者修改
     * @param signGrades
     * @return
     */
    Result insertOrUpdateBatchs(List<SignGrade> signGrades);



    /**
     * 分数统计列表
     * @param signGrade
     * @return
     */
    Result getSignGrades(SignGrade signGrade);


    /**
     * 分数录入查询列表
     * @param signGrade
     * @return
     */
    Result getStuSignGrades(SignGrade signGrade);


    /**
     * b赛场导出
     * @param response
     * @return
     */
    Result stuSignGradederive(HttpServletResponse response,Long cbatchId,String competition) throws Exception;



    /**
     * B赛场录分导出
     * @param response
     * @return
     */
    Result recordderive(HttpServletResponse response,Long cbatchId,String competition) throws Exception;
}
